package com.gxa.modules.service.zls;

import com.gxa.common.vo.R2;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: zls
 * Date: 2021/12/28 12:00:40
 * Description:
 * Version: V1.0
 */
public interface LoginService {
    //将短信验证码暂存redis
    void saveMsgCode(String keyCode, int mobile_code);

    //注册
    R2 addOrRegister(Map map);

    //修改密码
    R2 updatePassword(Map map);

    void saveMsgCode2(String keyCode, int mobile_code);

    R2 updatePasswordForget(Map map);

    R2 customerLogin(Map map);

    List<Map> queryShopInfo(String user_phone);

    List<Map> queryMenu();

    Map queryRole1(String user_phone);
}
